package com.gusto.engine.clusterant.algorithms.antsclustering;

import com.gusto.engine.clusterant.algorithms.antsclustering.ants.Ant;

/**
 * <p>A listener on {@link AntsClusteringAlgorithm}.<br/>
 * As the process of clustering may be long, 
 * the listener triggers for a set of events.</p>
 * 
 * @author amokrane.belloui@gmail.com
 * 
 */
public interface AntsClusteringAlgorithmListener {
	
	/**
	 * A new ant had been added to the algorithm
	 * @param ant
	 */
	public void antAdded(Ant ant);
	
	/**
	 * The clustering is finished
	 * @param plan
	 */
	public void clusteringFinished(Plan plan);
	
}
